How can I insert values into a Treeview using a function and a loop

welcome to shbcf.ru